<?php

declare(strict_types=1);

namespace App\Fastapp\Model;

use Mine\MineModel;

/**
 * @property int $id 主键
 * @property int $shop_id 
 * @property string $token token
 * @property string $remark 备注
 * @property string $callback 
 * @property string $link link
 * @property int $is_admin 
 * @property int $type 1tg
 * @property int $account_type 
 * @property string $config 配置
 * @property int $robot_id 关联机器人
 */
class FastappRobot extends MineModel
{
    public bool $timestamps = false;
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'fastapp_robot';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'shop_id', 'token', 'remark', 'callback', 'link', 'is_admin', 'type', 'account_type', 'config', 'robot_id'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'shop_id' => 'integer', 'is_admin' => 'integer', 'type' => 'integer', 'account_type' => 'integer', 'robot_id' => 'integer'];
}
